package com.coreservlets.jsf.ss09;

import java.util.HashMap;
import java.util.Map;

import javax.faces.bean.ManagedBean;

@ManagedBean
public class Employee2 
{
	private Map<String,String> names = new HashMap<String, String>();
	
	public Employee2()
	{
		names.put( "a1234", "John Ortiz" );
		names.put( "a4567", "Edward Ortiz" );
		names.put( "a7890", "Juan Ortiz" );
	}
	
	public String getEmployeeName( String key )
	{
		return( names.get(key));
	}
}
